package ast;

public class BodyNode extends ExprNode {

	public String lBrace;
	public String rBrace;
	
    public BodyNode(List varDeclList, List stmtList) {
    	this.left = varDeclList;
    	this.right = stmtList;
    	this.lBrace = "{";
    	this.rBrace = "}";
    }

    public BodyNode(StmtNode left) {
    	this.left = left;
    	this.right = null;
    	this.lBrace = "";
    	this.rBrace = "";
    }
    
    public Object accept(Visitor v) {
    	return v.visit(this);
    }

}

